﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZFine.Domain;
using ZFine.Domain.Entity;

namespace Entity.ProjectEnt
{
    /// <summary>
    /// 编制计划
    /// </summary>
    public class WorkPlanEntity: IEntity<WorkPlanEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
    {
        public string F_Id { get; set; }
        public string F_CreatorUserId { get; set; }
        public DateTime? F_CreatorTime { get; set; }
        /// <summary>
        ///逻辑删除标记
        /// </summary>
        public bool? F_DeleteMark { get; set; }
        /// <summary>
        /// 删除实体的用户
        /// </summary>
        public string F_DeleteUserId { get; set; }
        /// <summary>
        /// 删除实体时间
        /// </summary>
        public DateTime? F_DeleteTime { get; set; }
        public string F_LastModifyUserId { get; set; }
        public DateTime? F_LastModifyTime { get; set; }

        //计划的调度员
        public virtual  UserEntity DiaoDuPerson { get; set; }
        //计划的调车员
        public virtual UserEntity DiaoChePersion { get; set; }
        //编制日期
        public DateTime BianZhiDateTime { get; set; }
        //编制计划(json list对象)
        public string BianZhiPlan { get; set; }
        /// <summary>
        /// 备注说明
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime? BeginDateTime { get; set; }
        /// <summary>
        /// 计划截止时间
        /// </summary>
        public DateTime? EndDateTime { get; set; }
        /// <summary>
        /// 计划批次
        /// </summary>
        public string PlayNum { get; set; }

        //状态
        public bool? State { get; set; }
    }
}
